package com.allen.study.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.allen.study.common.base.SnowflakeBasePO;
import lombok.Getter;
import lombok.Setter;

/**
 * 持久化对象
 *
 * @author AllenSun
 * @since 2025-02-26 22:43
 */
@Getter
@Setter
@TableName(value = "EMPLOYEE_INFO")
public class EmployeeInfoPO extends SnowflakeBasePO {

    /**
     * 员工工号
     */
    @TableField("employee_id")
    private String employeeId;

    /**
     * 员工姓名
     */
    @TableField("employee_name")
    private String employeeName;

    /**
     * 年龄
     */
    @TableField("age")
    private Integer age;

    /**
     * 性别：0-男，1-女
     */
    @TableField("sex")
    private Boolean sex;

    /**
     * 组长工号
     */
    @TableField("leader_id")
    private String leaderId;

    /**
     * 项目经理工号
     */
    @TableField("pm_id")
    private String pmId;

    /**
     * 主管工号
     */
    @TableField("supervisor_id")
    private String supervisorId;

    /**
     * 生日
     */
    @TableField("birthday")
    private LocalDate birthday;
}
